package com.runfig.wowo.cloud.controller;

import com.runfig.wowo.cloud.common.Result;

import com.runfig.wowo.cloud.feign.UserInfoFeignApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/users")

public class UserController {

    @Autowired
    private UserInfoFeignApi userInfoFeignApi;

    @RequestMapping("/checkPhone")
    public Object checkPhone(){
        Result result = userInfoFeignApi.checkPhone("frffff");

        return "result";

    }
}
